import modelAbstract from "./modelAbstract";
import {images} from "../service/image";
import config from '../config'
import boss from "../canvas/boss"
export default class extends modelAbstract implements IModel{
    canvas: ICanvas = boss;
    name: string = "boss";
    image(): HTMLImageElement {
        return images.get(this.name as keyof typeof config.images)!
    }
    render(): void {
        super.draw();
    }
}